package com.martin.dms.model;

import java.util.Date;

/**
 * Purchase made by a Client.
 * 
 * @author mtsvetkov
 */
public interface Purchase extends DMSObject {

    /**
     * Gets the client who made the purchase.
     * 
     * @return a <code>Client</code> object.
     */
    public Client getClient();

    /**
     * Gets the item that was purchased.
     * 
     * @return an <code>Item</code> object.
     */
    public Item getItem();

    /**
     * Gets the number of items that were purchased.
     * 
     * @return the number of purchased items.
     */
    public int getAmount();

    /**
     * Gets the date of the purchase.
     * 
     * @return purchase date.
     */
    public Date getDate();
}
